Skip to content

PXB-3762: Backup with --transition-key crashes on assertion failure in xb_set_encryption() when undo log encryption keys exist in redo log#1740

Open
JoeJRW wants to merge 1 commit intopercona:trunkfrom
JoeJRW:PXB-3762-fix-backup-transition-key-undo-encrypt-crash
Open

PXB-3762: Backup with --transition-key crashes on assertion failure in xb_set_encryption() when undo log encryption keys exist in redo log#1740
JoeJRW wants to merge 1 commit intopercona:trunkfrom
JoeJRW:PXB-3762-fix-backup-transition-key-undo-encrypt-crash

Conversation

@JoeJRW
Copy link
Copy Markdown

@JoeJRW JoeJRW commented Apr 23, 2026

Please refer to the bug report at https://perconadev.atlassian.net/browse/PXB-3762

…ead_encryption()

Condition 1 checks use_dumped_tablespace_keys without !srv_backup_mode,
causing assertion failure in xb_set_encryption() when --transition-key
is used and undo encryption keys exist in redo log. During backup the
encryption_info map is empty (keys are being collected, not loaded),
so xb_fetch_tablespace_key() returns false and ut_a(found) fires.

Add !srv_backup_mode to match Condition 2 and all other call sites.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant